import React from 'react';
import { UserAuth } from '../../utils/hooks';
import NotAuth from '../../components/NotAuth';

const SaleInfo = () => {
  return <>SaleInfo</>;
};

export default () => {
  const { authority } = UserAuth('SaleInfo');
  return <>{authority ? <SaleInfo type={2} /> : <NotAuth />}</>;
};
